Connect wifi

Set wifi account and password, connect to a specific wifi network.

Request:

"|2|1|wifi_ssid,wifi_pwd|\r"

Parameters:

wifi_ssid wifi SSID

wifi_pwd wifi password

Returns:

"|2|1|\r" Wifi connection status: wifi disconnected

"|2|2|\r" Wifi connection status: wifi is connecting

"|2|3|ip|\r" Wifi connection status: connected to wifi successfully. It returns ip address of OBLOQ.

"|2|4|\r" wifi connection status: wifi connection failed, check if SSID and PWD are correct.

Arduino Sample:

softSerial.print("|2|1|wifi_ssid,wifi_pwd|\r");

results matching ""

    No results matching ""